﻿
#include "Demo/CalcDistance.h"
#include "Demo/SystemTime.h"

namespace Algorithm {

void CalcDistance::updateDistance(const float vehSpd)
{
    distance_ += vehSpd * SystemTime::cycleTime();
}

} //namespace Algorithm 